package com.m1.tzolkin.model.util.player;

public class ScorePlayer extends Player implements IScorePlayer {
	
	// ATTRIBUTS
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5258748681192965785L;
	private double score;
	
	// CONSTRUCTEUR
	
	public ScorePlayer(String name) {
		super(name);
		score = 0;
	}
	
	// REQUETES

	@Override
	public double getScore() {
		return score;
	}
	
	// COMMANDES

	@Override
	public void addScore(double d) {
		score += d;
	}

}
